package com.mylib.libcore.config;

import android.Manifest;

import com.mylib.libcore.AppContext;

import java.util.ArrayList;
import java.util.List;

public class AppConfig implements NetConfig, RouterConfig {
    public static final String LOGGER_TAG = "AppConfig";

    //PERMISSIONS
    public static final String[] PERMISSIONS = new String[]{
            Manifest.permission.INTERNET,
            Manifest.permission.ACCESS_NETWORK_STATE,
            Manifest.permission.WRITE_EXTERNAL_STORAGE,
            Manifest.permission.READ_EXTERNAL_STORAGE,
            Manifest.permission.ACCESS_COARSE_LOCATION,
            Manifest.permission.ACCESS_FINE_LOCATION,
            Manifest.permission.REQUEST_INSTALL_PACKAGES,
            Manifest.permission.WAKE_LOCK,
            Manifest.permission.READ_PHONE_STATE,
            Manifest.permission.WAKE_LOCK,
            Manifest.permission.CAMERA,
            Manifest.permission.ACCESS_WIFI_STATE,
            Manifest.permission.CHANGE_WIFI_STATE
    };

    //PERMISSIONS
    public static final String[] PERMISSIONSTWO = new String[]{
            Manifest.permission.INTERNET,
            Manifest.permission.ACCESS_NETWORK_STATE,
            Manifest.permission.WRITE_EXTERNAL_STORAGE,
            Manifest.permission.READ_EXTERNAL_STORAGE,
            Manifest.permission.ACCESS_COARSE_LOCATION,
            Manifest.permission.ACCESS_FINE_LOCATION,
    };

    //相册
    public static final int PERMISSION_CODE = 66;//权限回调
    public static final int CHOOSE_PHOTO = 155;//选择相册
    //选择拍照
    public static final int TAKE_PICTURE = 166;

    //友盟
    public static final String YOUMENG_APP_KEY = "5ffac8a12b4cc86ffb10cf0e";//友盟key
    public static final String YOUMENG_Message_Secret = "59671c842f44f9c3edff8597003a7873";//友盟Umeng Message Secret
    public static final String YOUMENG_Master_Secret = "fvdn8x6pwny3mhoaxhamn3cp9qimhlar";//友盟App Master Secret
    //微信
    public static final String WX_APP_ID = "wxe2c931aabb98508b";
    public static final String WX_AppSecret = "c9f125512bbe20a8173431682dc254a3";
    //天气
    public static String TIANQIJUNUSERKEY = "cxmxtianqi";//天气数据加入md5验算

    //新闻
    public static final String TOUTIAO_KEY = AppContext.getInstance().getAppPreferenceForever().getNewsKey();//头条key

    //穿山甲
    public static final String CSJ_APP_ID = "5145764";//穿山甲APP_id-改
    public static final String CSJ_ZX_ID_TWO = "945858930";//穿山甲咨询广告id-左图右文-改
    public static final String CSJ_ZX_ID = "945859271";//穿山甲咨询广告id-右图左文-改
    public static final String CSJ_OPEN_ID = "887440071";//穿山甲开屏广告-改
    public static final String CSJ_JL_ONE_ID = "945858936";//穿山甲激励视频1-改
    public static final String CSJ_BANNER_ONE_ID = "945858963";//穿山甲BANNER-150-1-改
    public static final String CSJ_BANNER_TWO_ID = "945905030";//穿山甲BANNER-150-2
    //广点通
    public static final String GDT_APP_ID = "1111460429";//广点通APPID
    public static final String GDT_APP_ZX = "7021767371045859";//广点通信息流-自渲染16/9图片
    public static final String GDT_APP_MB_ZX = "6071269392522402";//广点通信息流-模板2.0-左文又图
    public static final String GDT_APP_MB_PIC_ONE = "5091161539670521";//广点通-横向-存图片-支持视频
    public static final String GDT_APP_OPEN_AD = "7071069539275849";//广点通-开屏广告
    public static final String GDT_APP_MB_PIC_TWO = "1091362645193772";//广点通-横向-存图片-支持视频2


    //闲玩
    public static final String XIANWAN_APP_ID = "2082";//闲玩appid
    public static final String XIANWANG_AppSecret = "2dttplcp694a2x12";//闲玩AppSecret

    //鱼玩盒子
    public static final String YWHZ_APP_ID = "2082";//鱼玩盒子APPID
    public static final String YWHZ_AppSecret = "4oclaklumfio5c4hvjfhesrnx5msr5a8";//鱼玩盒子密钥
    //小游戏
    public static final String XIAOYOUXI_APP_ID = "1002138";//小游戏APPID
    public static final String XIAOYOUXI_AppSecret = "5f627117f91f6a117146797f2d572873";//小游戏密钥
    //阅盟
    public static final String YUEMENG_APP_ID = "9058";//阅盟appid
    //一览视频
    public static final String YLSP_APP_TOKEN = "csahutlqnccbpjw2mztd0xltfcdqa1p6";//一览视频access_token
    public static final String YLSP_APP_KEY = "ylr6jp2msdud";//一览视频access_key
    //多游59634959
    public static final String DUOYOU_APP_ID = "dy_59634959";//DUOYOU_APP_ID
    public static final String DUOYOU_AppSecret = "73c9c7814d5f5957e83e94b4f504e7db";//DUOYOU_APP_AppSecret
}
